﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Student : Person
    {
        public string Major;
        public string Grade;
        public void speak()
        {
            Console.WriteLine("我的编号是：{0},我叫{1}，性别{2}，身份证号是{3}，联系方式{4}，专业是{5}，我是{6}学生", id, name, sex, carid, tel, Major, Grade);
        }
    }
}